package com.efast.cafe.framework.service;

import java.util.List;

public interface ICafeService<T>{

	public int delete(T t);

	public int deleteByPrimaryKey(Object o);

	public boolean existsWithPrimaryKey(Object o);

	public int insert(T t);

	public int insertList(List<T> list);

	public int insertSelective(T t);

	public int insertUseGeneratedKeys(T t);

	public List<T> select(T t);

	public List<T> selectAll();

	public List<T> selectByExample(Object obj);


	public T selectByPrimaryKey(Object o);

	public int selectCount(T t);

	public int selectCountByExample(Object o);

	public T selectOne(T t);

	public T selectOneByExample(Object o);

	public int updateByExample(T t, Object o);

	public int updateByExampleSelective(T t, Object o);

	public int updateByPrimaryKey(T t);

	public int updateByPrimaryKeySelective(T t);
}
